
passw={}
print "Enter //quit as the username and password to quit."
while 1:
    username=raw_input("Enter the desired username.")
    password=raw_input("Enter the desired password.")
    if username=="//quit" and password=="//quit":
        break
    else:
        passw[username]=password
passFile=file("password.txt",'w')

for p in passw:
    #print hash(p+" ",
    passFile.write(p+" ")
    #print passw[p]
    passFile.write(str(hash(passw[p]))+" ")

passFile.close()
